- snippet :dashboards, icon: :dashboard, title: Backend::DashboardsController.human_action_name(:index) do
  %ul
    - current_user.dashboards.each do |dashboard|
      %li{class: (resource and resource.id == dashboard.id) ? "active" : "other"}= link_to(dashboard.name, backend_dashboard_path(dashboard))
    %li= link_to(Backend::DashboardsController.human_action_name(:new), new_backend_dashboard_path)

